/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.ucase.casemain.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 描述: 机动车违停记录表 case_illegal_parking_record 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年12月08日
 */
@Table(name = "upcase.case_illegal_parking_record")
@Data
public class CaseIllegalParkingRecord implements Serializable {
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 车牌号
     */
    @Column(name = "car_number")
    private String carNumber;

    /**
     * 联系方式
     */
    @Column(name = "phone")
    private String phone;

    /**
     * 违规时间
     */
    @Column(name = "illegal_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date illegalTime;

    /**
     * 违法地点省市区（区域编码）
     */
    @Column(name = "illegal_happen_address_area_code")
    private String illegalHappenAddressAreaCode;

    /**
     * 违法地点详细地址
     */
    @Column(name = "illegal_happen_address_detail")
    private String illegalHappenAddressDetail;

    /**
     * 处罚事项名称
     */
    @Column(name = "penalty_matter_name")
    private String penaltyMatterName;

    /**
     * 处罚事项编号
     */
    @Column(name = "penalty_matter_code")
    private String penaltyMatterCode;

    /**
     * 主办人id
     */
    @Column(name = "main_people_id")
    private String mainPeopleId;

    /**
     * 主办人姓名
     */
    @Column(name = "main_people_name")
    private String mainPeopleName;

    /**
     * 协办人id
     */
    @Column(name = "assisting_people_id")
    private String assistingPeopleId;

    /**
     * 协办人姓名
     */
    @Column(name = "assisting_people_name")
    private String assistingPeopleName;

    /**
     * 违法事实
     */
    @Column(name = "illegal_fact")
    private String illegalFact;

    /**
     * 是否拖车（0-否 1-是）
     */
    @Column(name = "is_trailer")
    private String isTrailer;

    /**
     * 停车场
     */
    @Column(name = "park")
    private String park;

    /**
     * 停车场联系电话
     */
    @Column(name = "park_phone")
    private String parkPhone;

    /**
     * 创建人
     */
    @Column(name = "created_by")
    private String createdBy;

    /**
     * 创建人名
     */
    @Column(name = "created_by_name")
    private String createdByName;

    /**
     * 创建时间
     */
    @Column(name = "created_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createdTime;

    /**
     * 更新人
     */
    @Column(name = "updated_by")
    private String updatedBy;

    /**
     * 更新人名
     */
    @Column(name = "updated_by_name")
    private String updatedByName;

    /**
     * 更新时间
     */
    @Column(name = "updated_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updatedTime;

    /**
     * 是否删除，0 未删除；1已删除
     */
    @Column(name = "is_deleted")
    private String isDeleted;

    /**
     * 违法地点地址
     */
    @Column(name = "illegal_happen_address")
    private String illegalHappenAddress;

    /**
     * 是否发送信息（0-否 1-是）
     */
    @Column(name = "is_send")
    private String isSend;

    /**
     * 反映内容
     */
    @Column(name = "reflection_content")
    private String reflectionContent;

    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;

    /**
     * 违则
     */
    @Column(name = "breach")
    private String breach;

    /**
     * 罚则
     */
    @Column(name = "penalty")
    private String penalty;

    /**
     * 机构code
     */
    @Column(name = "org_code")
    private String orgCode;

    /**
     * 机构名称
     */
    @Column(name = "org_name")
    private String orgName;

    private static final long serialVersionUID = 1L;
}